#ifndef EDITPLACEWID_H
#define EDITPLACEWID_H

#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QTextEdit>
#include <QPushButton>

class EditPlaceWid : public QWidget
{
    Q_OBJECT
public:
    explicit EditPlaceWid(QWidget *parent = 0);

signals:
    void dataSaved();
public slots:
    void SaveData();
    void setEditName(char *);
private:
    QLabel *oldName;
    QLabel *nameLab;
    QLabel *descLab;
    QLineEdit *nameEdit;
    QTextEdit *descEdit;
    QPushButton *confirmBtn;
    char editName[50];
};

#endif // EDITPLACEWID_H
